package com.xw.childhealth.service;

import com.xw.childhealth.entity.BasicData;
import com.xw.childhealth.entity.PersonnelCode;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 2019-11-27 08:38
 * @Version: 1.0
 */
public interface BasicDataService {

    BasicData save(BasicData obj);

    void delById(Integer id);

    BasicData findById(Integer id);

    Page<BasicData> findAll(Specification<BasicData> specification, PageRequest pageRequest);
}
